﻿using Dapper_Core.DAL.Interface;
using Dapper_Core.Table;
using System;
using System.Collections.Generic;
using System.Text;

namespace Dapper_Core.BLL.Interface
{
    public interface IManufacturer_InfoBusiness : IBaseRepository<Manufacturer_Info>
    {
        bool IsExist(string manufacturerCode, string manufacturerName);

        bool Add(Manufacturer_Info manufacturer);

        bool UpdateNotNull(Manufacturer_Info manufacturer);

        (List<Manufacturer_Info> roles, int count) GetPageList(int pageIndex, int rowsPerPage, Manufacturer_Info manufacturer, string orderby);
    }
}
